adTempus API
PreviousUpNext
IProgramExecutionTask::CommandLineScript Property

Gets or sets a script to be used to determine the command-line parameters.

C++
__property IScript* CommandLineScript;
C#
IScript* CommandLineScript;
Visual Basic
Property CommandLineScript() As IScript*

Use a CommandLineScript instead of CommandLineParameters when you need to pass variable data (such as the current date) to the scheduled program. 

The script you specify must set the global Result variable to a string value, which will be used as the command-line parameters for the program.

If a CommandLineScript is specified, the CommandLineParameters are ignored.

adTempus API Reference version 3.0.0.0, revised 10/30/2008